package com.matt.service;


import com.matt.domain.ComplaintRecord;
import org.springframework.data.domain.Page;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ComplaintRecordService {
    ComplaintRecord addComplaintRecord(String usersId,String childrenId,  String complaintObject,String title, String content,MultipartFile[] files);

    ComplaintRecord addComplaintRecord(String usersId,String childrenId,  String complaintObject,String title, String content, String files);

    Page<ComplaintRecord> getComplaintRecord(String usersId, Integer pageNum, Integer pageSize);

    ComplaintRecord deleteComplaintRecord(String staffId,String staffName,String complaintRecordId);

    Page<ComplaintRecord> getComplaintRecordByRoleCode(String areaId,String staffId,String roleCode,
                                                       String queryRoleCode,Boolean isReply,
                                                       Integer pageNum, Integer pageSize);

    Page<ComplaintRecord> getComplaintRecord(List<String> areaIds, String roleCode,
                                             String queryRoleCode, Boolean isReply,
                                             Integer pageNum, Integer pageSize);

    ComplaintRecord replyComplaintRecord(String staffId,String staffName,String complaintRecordId,String replyContent);

}
